import { createSlice } from '@reduxjs/toolkit'

export const diS = createSlice({
  name: 'di',
  initialState:{
    di:['北京']
  },
  reducers: {
   di:(state,action)=>{
    state.di=action.payload
   } 
  },
})

// Action creators are generated for each case reducer function
export const { di } = diS.actions